package event

type EventType int

const Active EventType = 1          // 设备激活
const Register EventType = 2        // 注册
const Pay EventType = 3             // 付费
const OneDayRetention EventType = 4 // 次留

type Common struct {
	Type EventType
	// 系统内部唯一标识 激活时为空
	InnerDeviceId string
}

type IEvent interface {
	//事件的唯一标识
	GetId() string
}
